﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp1
{
    class Program
    {
        static void Main(string[] args)
        {
            UsbDisk u = new UsbDisk("闪迪");
            u.Read();
            u.Write();
            Console.WriteLine();

            MobDisk m = new MobDisk("金士顿");
            m.Read();
            m.Write();
            Console.WriteLine();

            Computer L = new Computer("联想");
            L.start();
            L.Usb1 = u;
            L.Usb2 = m;

            L.ReadData();
            L.WriteData();

            L.end();




            Console.ReadKey();
        }
    }
}
